New Functions in Week 7

matrix

{base}

Creates a matrix from the given set of values.

sqrt

{base}

Square-root function

plot

{graphics}

Generic function from base R to produce a plot

coef

{stats}

Extract model coefficients

roc

{pRoc}

Create a Receiver Operating Characteristic (ROC) curve

coeftest

{lmtest}

Inference for Estimated Coefficients

as.numeric

{base}

Coerce a vector to numeric

as.data.frame

{base}

Functions to check if an object is a data frame, or coerce it if possible.

attr

{base}

Access or modify the attributes of an object

round

{base}

Rounds numbers

unlist

{base}

Flattens a list into a vector by extracting all its elements

auc

{pRoc}

Returns the area under the curve

lag

{dplyr}

Shift values in a vector or time series

diag

{base}

Extract or construct diagonal elements or matrices

t

{base}

Transpose a matrix or data frame

The end!